<div class="cf">

		<div class="dp100 sortable">
			<div class="box_c sort-disabled">
				<h3 class="box_c_heading cf"
                    <span class="fl" title="sdfsdfds">Bản đồ 32 Tỉnh/Thành phía Nam - quý <?php echo $c_quarter ?>/<?php echo $c_year ?><span class="small">(thông tin chung)</span></span>

                    <img src="images/blank.gif" alt="" class="fr square_x_11 wRemove" />
                    <img src="images/blank.gif" alt="" class="fr switch_arrows_a" />
                </h3>
		
		
				<form id="main_city_form_map" action="<?php echo $this->Html->url(array('controller'=>'cities', 'action'=>'changeCity')); ?>" method="post">
						<input type="hidden" name="data[city_id]" value="" id="main_city_id_map" />
						<input type="hidden" name="data[redirect_url]" value="<?php echo $this->Html->url(array('controller'=>'cities', 'action'=>'details')); ?>" />
						<div class="box_c_content box_c_inner" id="main_map" title='<strong><?php echo $cities[0]['City']['name'] ?></strong><p>Hệ điều trị: <?php
										for($i=$cities[0]['star_m']; $i > 0; $i--){
												echo '<img src="'.$this->Html->url('/img/star_blue.png').'" /> ';
										}
										if(!$cities[0]['star_m']) echo '<img src="'.$this->Html->url('/img/star_black.png').'" /> ';
									?></p><p>Hệ dự phòng: <?php
										for($i=$cities[0]['star']; $i > 0; $i--){
												echo '<img src="'.$this->Html->url('/img/star_yellow.png').'" /> ';
										}
										if(!$cities[0]['star']) echo '<img src="'.$this->Html->url('/img/star_black.png').'" /> ';
									?></p>'>
							
							<div style="text-align:center; padding-left: 0px; padding-right: 0px; width:630px; margin-left:auto; margin-right:auto;">
							<img src="<?php echo $this->Html->url("/img/map650.png"); ?>" id="Image-Maps" usemap="#Image-Maps" border="0" alt="" />
							<map id="_Image-Maps" name="Image-Maps">
							
								<?php foreach($cities as $city) { ?>
									<area class="map_e" id="c<?php echo $city['City']['id'] ?>" shape="rect" coords="<?php echo $city['City']['coords'] ?>" href="#" onclick="$('#main_city_id_map').attr('value','<?php echo $city['City']['id'] ?>');$('#main_city_form_map').submit()" onmouseout='$(".tooltip").fadeOut(100);' onmouseover='$(".tooltip").fadeIn(100);$(".tooltip").html($("#cc<?php echo $city['City']['id'] ?>").html());' />
								<?php } ?>			
								
								
							</map>
							
								<?php foreach($cities as $city) { ?>
									<div id="cc<?php echo $city['City']['id'] ?>" style="display: none;"><strong><?php echo $city['City']['name'] ?> - quý <?php echo $c_quarter ?>/<?php echo $c_year ?></strong><p>Hệ điều trị: <?php
										for($i=$city['star_m']; $i > 0; $i--){
												echo '<img src="'.$this->Html->url('/img/star_blue.png').'" /> ';
										}
										if(!$city['star_m']) echo '<img src="'.$this->Html->url('/img/star_black.png').'" /> ';
									?></p><p>Hệ dự phòng: <?php
										for($i=$city['star']; $i > 0; $i--){
												echo '<img src="'.$this->Html->url('/img/star_yellow.png').'" /> ';
										}
										if(!$city['star']) echo '<img src="'.$this->Html->url('/img/star_black.png').'" /> ';
									?></p></div>
								<?php } ?>
							
							
							</div>
		
						</div>
				</form>
			</div>
		</div>

	  
</div>